cmake_minimum_required(VERSION 3.10)

# 添加内存池子目录
add_subdirectory(memory)
add_subdirectory(thread)
add_subdirectory(logger)
add_subdirectory(monitoring)

# 公共库
add_library(common_lib INTERFACE)

# 链接子模块库
target_link_libraries(common_lib INTERFACE
    common_memory_lib
    common_thread_lib
    common_logger_lib
    common_monitoring_lib
) 